from django.urls import path
from . import views
from . import views as user_views
urlpatterns = [
    # http://127.0.0.1:8000/v1/users/username
    path('<str:username>', user_views.UserView.as_view()),
    # http://127.0.0.1:8000/v1/users/username/avatar
    # 用户上传头像
    path('<str:username>/avatar', user_views.user_avatar),
    # path('<username>', views.UserView.as_view()),
]